import {Module} from '@nestjs/common';
import {ApprovalService} from './approval.service';
import {ApprovalController} from './approval.controller';
import {TypeOrmModule} from "@nestjs/typeorm";
import {ApprovalRecord} from "./entities/approval.entity";
import {SysUserService} from "../sys_user/sys_user.service";
import {SysUserModule} from "../sys_user/sys_user.module";
import {SysUser} from "../sys_user/entities/sys_user.entity";

@Module({
    imports: [TypeOrmModule.forFeature([ApprovalRecord, SysUser]), SysUserModule],
    controllers: [ApprovalController],
    providers: [ApprovalService, SysUserService],
})
export class ApprovalModule {
}
